package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TbTag;
import com.bwie.service.TbTagService;
import com.bwie.mapper.TbTagMapper;
import com.bwie.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tb_tag】的数据库操作Service实现
* @createDate 2025-05-27 15:34:28
*/
@Service
public class TbTagServiceImpl extends ServiceImpl<TbTagMapper, TbTag>
    implements TbTagService{

    @Autowired
    TbTagMapper tbTagMapper;
    @Override
    public Result getTagListAll() {
        List<TbTag> tbTags = tbTagMapper.selectList(null);
        return Result.ok().setData(tbTags);
    }
}




